// Search entry
%search-entry, .search-entry {
  width: 24em;
  padding: $base_padding $base_padding * 2;
  color: $text-secondary;
  transition-duration: 150ms;
  border-radius: $base_radius;
  caret-color: $text;
  selection-background-color: $divider;
  selected-color: $primary-text !important;
  @include entry(normal, $bc: $base);

  &:hover {
    @include entry(hover, $bc: $base);
  }

  &:focus {
    @if $theme == 'grey' {
      @include entry(focus, $bc: $base, $fc: white);
    } @else {
      @include entry(focus, $bc: $base);
    }
  }

  .search-entry-icon {
    icon-size: 16px;
    padding: 0 0;
    color: $text-secondary-disabled;
  }

  &:hover, &:focus {
    .search-entry-icon { color: $text-secondary; }
  }

  &:insensitive {
    border: none;
    color: $text-secondary-disabled;
  }

  StLabel.hint-text {
    color: $text-disabled;
  }
}

.popup-menu .search-entry { // reset
  @extend %entry;
}
